﻿using AutoMapper;
using System.IO;
using ZGLXM.Domain;
using ZGLXM.Read.Api.Dtos;

namespace ZGLXM.Read.Api
{
    public class MappingProfile:Profile
    {
        public MappingProfile()
        {
            CreateMap<GetUserDTO, User>().ReverseMap();
            CreateMap<GetRoleDTO, Role>().ReverseMap();
            CreateMap<GetProfessionDTO, Profession>().ReverseMap();
        }
    }
}
